package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;

import java.util.List;

/**
 * @author qzh
 * @create 2020-01-07 2020/1/7
 */
public interface CheckGroupService {

    void add (CheckGroup checkGroup, Integer[] checkitemIds);

    PageResult pageQuery(QueryPageBean queryPageBean);

    CheckGroup findById(Integer id);

    List<Integer> findCheckItemIdsByCheckGroupId(Integer id);


    void edit(CheckGroup checkGroup, Integer[] checkitemIds);

    List<CheckGroup> findAll();


    void deleteById(Integer id);
}
